<br/> 
<table cellpadding="2" cellspacing="0" border="1" class="formTable" data-sort="sortDisabled">
    <tbody>
        <tr class="firstRow">
            <td colspan="8" class="formHead" width="1479">
                场地水灾_异常快件清理
            </td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" width="1479">
                上报信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:csycdj">初始异常等级</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:csycdj" class="inputText" value="" validate="{maxlength:20}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:ycdj">异常等级</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:ycdj" class="inputText" value="" validate="{maxlength:20}"/>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:kssbrgh">快速上报人工号</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:kssbrgh" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:kssbrxm">快速上报人姓名</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:kssbrxm" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:kssbrlxfs">快速上报人联系方式</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:kssbrlxfs" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:kssbsj">快速上报时间</span>:
            </td>
            <td style="width:15%;" class="formInput" width="101">
                <input name="m:cdsz:kssbsj" el-component="17" type="text" class="Wdate" displaydate="0" datefmt="yyyy-MM-dd HH:mm:ss" value="" validate="{}"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:sbrgh">上报人工号</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:sbrgh" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:sbrxm">上报人姓名</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:sbrxm" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:sbrlxfs">上报人联系方式</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:sbrlxfs" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:sbsj">上报时间</span>:
            </td>
            <td style="width:15%;" class="formInput" width="101">
                <input name="m:cdsz:sbsj" el-component="17" type="text" class="Wdate" displaydate="0" datefmt="yyyy-MM-dd HH:mm:ss" value="" validate="{}"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0">
                <span i18nkey="m:cdsz:yccldq">异常处理地区</span>:
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput" height="0">
                <div>
                    
							<input name="m:cdsz:yccldqPATH" type="hidden" class="hidden" value=""/>
							<input name="m:cdsz:yccldqID" type="hidden" class="hidden" value=""/>
							<input el-component="23" selector-showfield="" name="m:cdsz:yccldq" validate="{}" readonly="" class="widget-fragment w-default" placeholder="选择..."/>
						
                </div>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0">
                <span i18nkey="m:cdsz:ycclwd">异常处理网点</span>:
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput" height="0">
                <div>
                    
							<input name="m:cdsz:ycclwdPATH" type="hidden" class="hidden" value=""/>
							<input name="m:cdsz:ycclwdID" type="hidden" class="hidden" value=""/>
							<input el-component="23" selector-showfield="" name="m:cdsz:ycclwd" validate="{}" readonly="" class="widget-fragment w-default" placeholder="选择..."/>
						
                </div>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0">
                <span i18nkey="m:cdsz:fxsj">发现时间</span>:
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput" height="0">
                <input el-component="17" name="m:cdsz:fxsj" type="text" readonly="" :default-value="1547176562659" datefmt="yyyy-MM-dd HH:mm:ss" validate="{}" class="widget-fragment w-datetimepicker"/>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp" height="0" width="127"></td>
            <td style="width: 15%; word-break: break-all;" class="formInput" height="0" width="101"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:ycms">异常描述</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <textarea name="m:cdsz:ycms" el-component="2" validate="{}"></textarea>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width: 15%; word-break: break-all;" class="formInput"></td>
            <td style="width: 15%; word-break: break-all; text-align: right;" class="formInput">
                <span i18nkey="m:cdsz:fjxx" style="text-align: -webkit-right; white-space: normal;">附件信息</span><span style="text-align: -webkit-right; white-space: normal; background-color: rgb(250, 250, 250);">:</span> 
 
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput">
                <input type="file" value="请选择" el-component="12" name="m:cdsz:fjxx" validate="{required:false}" action="http://owsp.sit.sf-express.com/sysFile/upload" class="widget-fragment w-upload"/>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" style="word-break: break-all;" width="1479">
                事件基本信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:fswd">发生网点</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:fswd" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:fswdlx">发生网点类型</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <select name="m:cdsz:fswdlx" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    中转场
                </option>
                <option value="2">
                    营业网点
                </option>
                <option value="3">
                    办公场地
                </option>
                <option value="4">
                    仓库
                </option></select>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:cbyypd">初步原因判断</span>:
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput">
                <select el-component="13" name="m:cdsz:cbyypd" validate="{required:false}" class="widget-fragment w-select"><option value="">
                    请选择
                </option>
                <option value="1">
                    水管爆裂
                </option>
                <option value="2">
                    自然灾害
                </option>
                <option value="3">
                    外部原因
                </option>
                <option value="4">
                    其他原因
                </option></select>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" width="1479">
                事件基本信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput">
                <label><input type="checkbox" el-component="14" name="m:cdsz:zcss" value="1" validate="{}" label="资产损失"/>资产损失</label>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput">
                <label><input type="checkbox" el-component="14" name="m:cdsz:wysh" value="1" validate="{}" label="物业损坏"/>物业损坏</label>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput">
                <label><input type="checkbox" el-component="14" name="m:cdsz:zcdsfss" value="1" validate="{}" label="造成第三方损失"/>造成第三方损失</label>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput" width="101">
                <label><input type="checkbox" el-component="14" name="m:cdsz:nbrysw" value="1" validate="{}" label="内部人员伤亡"/>内部人员伤亡</label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput">
                <label><input type="checkbox" el-component="14" name="m:cdsz:kjsh" value="1" validate="{}" label="快件损坏"/>快件损坏</label>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp"></td>
            <td style="width:15%;" class="formInput">
                <label><input type="checkbox" el-component="14" name="m:cdsz:yxyycz" value="1" validate="{}" label="影响运营操作"/>影响运营操作</label>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
        <tr id="hfnr">
            <td colspan="8" class="teamHead" style="background-color:#8ebcec;" width="1479">
                回复内容
            </td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" width="1479">
                异常快件信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:kjsfyyc">快件是否有异常</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <select name="m:cdsz:kjsfyyc" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    是
                </option>
                <option value="2">
                    否
                </option></select>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:ysshjs">遗失/损毁件数</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input name="m:cdsz:ysshjs" type="text" el-component="1" value="" validate="{number:true,maxIntLen:20,maxDecimalLen:0}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:tjwshjs">托寄物损坏件数</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input name="m:cdsz:tjwshjs" type="text" el-component="1" value="" validate="{number:true,maxIntLen:20,maxDecimalLen:0}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:jgbzjs">加固包装件数</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input name="m:cdsz:jgbzjs" type="text" el-component="1" value="" validate="{number:true,maxIntLen:20,maxDecimalLen:0}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:hjycjs">合计异常件数</span>:
            </td>
            <td style="width:15%;" class="formInput" width="101">
                <input name="m:cdsz:hjycjs" type="text" el-component="1" value="" validate="{number:true,maxIntLen:20,maxDecimalLen:0}"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:yckjql">异常快件清理</span>:
            </td>
            <td>
                <a href=" http://aesp.sf-express.com/module/iframe.html#/express_clean?processName=${processRun.processName}&requestTitle=${processRun.subject}&exceptionCode=${processRun.codeBefore}&processId=${processRun.runId}&followUp=false&#10;" target="_blank" title="快件清理" _href=" http://aesp.sf-express.com/module/iframe.html#/express_clean?processName=${processRun.processName}&requestTitle=${processRun.subject}&exceptionCode=${processRun.codeBefore}&processId=${processRun.runId}&followUp=false
">点击进入快件清理</a> 
 
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdsz:yckjql_jzms">异常快件清理_进展描述</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input type="text" el-component="1" name="m:cdsz:yckjql_jzms" class="inputText" value="" validate="{maxlength:800}"/>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput" width="101"></td>
        </tr>
    </tbody>
</table><br/> <script>$(function(){

        //获取数字
        function getNum(name){
                var num=0;
                if(parseInt(FR_MAIN.getData(name))){
                    num =parseInt(FR_MAIN.getData(name));
                }else{
                    FR_MAIN.setData(name,0);
                }
                return num;
            }
        //合计异常件数 
        function gethjyxjs(){
            //托寄物品
            var tjwshjs = getNum("m:cdsz:tjwshjs");
            //遗失/损
            var ysshjs = getNum("m:cdsz:ysshjs");
            
            var hjycjs=tjwshjs+ysshjs;
            //合计异常件数
            FR_MAIN.setData('m:cdsz:hjycjs',hjycjs);
    
            if(hjycjs>400||ysshjs>200){
                return 1;   //一级
            }else if(hjycjs<=400||ysshjs>50){
                return 2;  //二级
            }else if(hjycjs<=200||ysshjs<=50){
                return 3;   //三级
            }else{
                return 4;   //四级
            }
        }
         //设置异常等级
         var ycdjOrigin=FR_MAIN.getData("m:cdsz:ycdj");
         function setcsycdj(){
            var ycdj=ycdjOrigin;
            var thjyxjs= gethjyxjs();
            if(ycdj=="一级"){
                    return;
            }
            switch(ycdj){
                case "二级":
                    ycdj =2;
                    break;
                case "三级":
                    ycdj =3;
                    break;
                default:
                    ycdj =4;
                    break;  
            }
            ycdj=ycdj<thjyxjs?ycdj:thjyxjs;
            switch(ycdj){
                case 1:
                    ycdj = "一级";
                    break;
                case 2:
                    ycdj = "二级";
                    break;
                default:
                    ycdj = "三级"
                    break;
                    
            }
            FR_MAIN.setData("m:cdsz:ycdj",ycdj);
        }
        
    
        function init(){
            setcsycdj();
        }
        var fieldChange = {
            //托寄物损坏
            "m:cdsz:tjwshjs" : function(key, val, item, obj) {
                setcsycdj();
            },
            //遗失/损毁
            "m:cdsz:ysshjs" : function(key, val, item, obj) {
                setcsycdj();
            },
            // //第三方_初始预计损失金额
            // "m:cdsz:zcss_csyjssje" : function(key, val, item, obj) {
            //     setcsycdj();
            // },
            //上报时间
        };
        // 表单改变
        window.FormChange = Object.assign({}, fieldChange);
    })
</script></script>